package pl.veneo.wigprofit.ctrl.events {
	import flash.events.Event;

	/**
	 * @author Tomasz Swierszcz, fiodorkrk@gmail.com
	 */
	public class ModelUpdateEvent extends Event {
		public static const ON_DATA_UPDATED : String = "ON_DATA_UPDATED";
		private var _start : Date;
		private var _end : Date;

		public function ModelUpdateEvent(type : String, start : Date, end : Date) {
			super(type);
			_start = start;
			_end = end;
		}

		public function get start() : Date {
			return _start;
		}

		public function get end() : Date {
			return _end;
		}
	}
}
